﻿@namespace BootstrapBlazor.Components

@if (Html != null)
{
    <iframe sandbox="allow-scripts" allow="fullscreen"
            style="@($"border: none; width: {Width}; height: {Height};{StyleString}")"
            srcdoc="@Html" />
}
else if (!string.IsNullOrEmpty(ErrorMessage))
{
    <p>@ErrorMessage</p>
}
else if (string.IsNullOrEmpty(Filename))
{
    <p>@NoDataString</p>
}
else
{
    <p>@LoadingString</p>
}
